refactoring index.php