Added validation for user model.\n Added migration for email field of user model for uniqueness on database side.