Bug fixes

The POST json->php associative array had a minor bug.  Also I added a method to checkin.php to create a checkin Table if for each organization if it does not exist.