Add isUnique validation rule to User model