making session store dynamic