add cookie option