changed session adapter to use mongo