editing base.html so that navbar doesn't show dashboard etc if not authenticated