add email validation for user model