adds email format validation for accounts