log out debug