add session store  and make store dict history work