View rework.  Proper quoting.  Simpler.
Allowing for session key to be overridden in settings.py
Move parse_attributes.
Better logout link