Move login logic code into it's own handlerfunc.
Move login logic code into it's own handlerfunc.
Move logout logic into its own handlerfunc.
Add edit handler; block non-get and non-post methods.
Finish splitting up admin handler.