fix a f***ing bug that avoids logout() being called.