Connection and insert

Better connection troubleshooting and now it actually inserts into a
table correctly by binding parameters. Changed from POST to GET for
easier insert.