Adding the cookie process