adds validation for email presence during registration