Updated router and index.html