add index.php and logic.php