added session event logging