changed CookieManager by localStorage