Update index.php

Use routes