Move session store to DB