Use nhost.auth.getUser() to get the signed-in user.
const user = nhost.auth.getUser()