backed echo script for testing status return using file
basic backend cgi script accepting encoded url
basic backend cgi script accepting json data

For sending json data to the server we need to
do a POST and use urlencoding. We alson need
to put the use the ajax send function to transmit
the data.

This assumes that we only assign one phone to one
user at a time. In other words for this particular
decoding of json we will have to only allow one
checkbox at a time.

Alternatively we can do multiple by checking length
array of arrays, then minus one to calculate how
many phones are trying to assing to one user.

I think in the end simpler solution is better ie.
we only allow assigning one device to one user
at a time.