the insert cookie should not return the cookie, instead return boolean indicating if the insert worked or not