Updated register.php