made cookieStore into own module, so controller called one thing to save and redirect