adds email and password validations for new users