added registration page to index.php