Created page to emulate sensor behavior: testsubmit.php
Fixed db insertion bugs in sensorsubmit.php