Added validation for email uniqueness