add CookieManager class