cookies and memory stores