hide logout button if session attrib loggedIn is set to false