validate if user exists when registering