use getCookies instead of getCookieSettings