modified register.php