Implemented posting and fetching services to mongo