adding session store and now it works