Fixed wrong user existence check on user registration on server.