Update registrationvalidator.php