Implementation of a session manager for Tomcat using Mongo as a backing store