setTimeout timer bug fix, add recording of second session of userA