Move css & js to separate files to clean up the html file.
Implement auth checking.