Uniqueness checking for user add/edit