add session based logging