register.php updated