add ability to use custom session store