Fix a broken js call
Use a much better scheme locate templates
Get a working login form
Attempt at condensing JS into a single file or two