added email validations and email uniqueness requirement