sending user id back if the user is registered