add session store error handling