Simplified debug tool logOut()  function