Fixed logout and sidebar removal