修复Logout错误的继承