Added a logged in check before showing the site wide notification