make a validation to confirm if record already existing or not.