Quote database - learning Flask and PyMongo