add rest flask mongo