finish python flask for mongodb