add code cookie