edit registration.php