Ensure index.html is removed on startup
Add header to include common files
Refactor JavaScript includes to footer.php
Check user credentials on login