Fixed a piece of formatting that looked ugly when the code was templated.
Added a login page for future use.
Added a login page handler.