Only hide header and sidebar for logged in users