switch to cookieSession