edited registration.php