added mongo session support, can view posts