added closing tags to index.php