实现了logout,forcelogout