fixed logout times bug

sometime tsviewer will go down and I was putting a logout time for
this. But if the session didn't end I wasn't correcting the logout time
next time I parsed the page