improve some of the session logging