making sure the persistence of pairing, unpairing,
in browser and in the back end
sort of like a promise obj for the back end changes
in case of bad internet connection