Renamed main.html to index.html. Modified the login template and flow to use connect-flash messages. Modified the css files slightly for clarity.