updated handling session store in the app-handler