updated server/index.php