Only show logout link if logged in
Added sentry