Tentative fix for logout