adding some returns to the cookie manager