Why this custom validation written for check unique user.