updated sync with proxy to use ajax methods
added ajax methods for syncing with proxy
added routes for syncing with proxy