Major restructure of app. Playing with templating and login form