add cookie and cookie demo
updated cookie and cookie demo