needed to pass session id and session store