change the view of index.php