updated code with the latest from the server, this includes the JSON parse function needed for submitting data
fixed bug yesterday for tablet submission