added mongo session handler