added email validation to edit user view