Log messages fixes when logging out. Logger always said it was cleaning data, even when the boolean was false.