added email uniqueness validation for users