add email validation in user model