using session to record logs