created cookies mechanism to turn on and off the memes