Refactored authentication into context processor. 'is_authenticated' is populated on all pages, etc.