Modify functions so that we can get json returned and get alert on phone.