Added mongo session mgt.