simple blog system using flask and mongodb