Fix session logouts