Updated to log timeout message when session expires. Fixed bug if session didn't exist when attempt to log message