add cookie class