Adding session persistency with MongoDB. Closes #3.