readding the cookie action