a new version based on MongoDB to store uploaded pictures