support custom session store, fixed #146