add pylint config, tidy up views.py
add a navbar and some checks to make sure logged in/out users see the right
things. tidy up per pylint.