Add session ID recording feature