adjusting sidebar to only show when user is logged in