Combine form.php and register.php