Renamed Some Files

Renamed some files. Put JS code into .js files. Made it to where people
who were not logged in could not access app (non CSS method.