Add logout to nav bar only when logged in and home page link redirects t...

...o feed when logged in