Fixed uniqueness validation for user

tired.