Update index.php

changed code to reflect changes from renaming login.php to sqldata.php