added error forewarding to checking if a user exists