working on the survey cookies and session