Update index.php

Fixing superglobals