User input validation when editing email and making new users