in match branch i implemented the data structure for matching
there are no extra paired list, the lga and nmis list will be updated once match is in place
there are front end matching logic that functions the same as back end matching, as promises for the back end
async style with promise objects,
since two collections need to be written before success, i have implemented nested promise objects and only return success back to front end after they are both suceeded
in match branch i implemented the data structure for matching