server side validation for email field in edit profile form