Added logout to the sidebar for logged in users