updated register.php to allow for easier site traversal