add cookie conf