adds cookie structure