adding cookie demo