add cookie sample