remove logout button when not logged in. made Pages accessible when not logged in