fix the logout problem, I think.