fixed typo in user model added uniqueness validation for email