Properly check whether a user exists