implemented synchronous session logger