Add validation for name uniqueness in User model