enforcing the validation for emaill to be unique