Modified express serve for using mongo api