Add uniqueness validator for users.