created an index page, fixed related routing