Update index.php

No longer using POST method.
Now i can log the queries