re-adding api/index.php