adding cookie sample