complete the cookie module