data gets stored into the cookie