python web server using flask and mongodb