changed to index.php, start of server-side logic