moves secret to the cookieParder from the cookieSession