-index page not working

-fix path to resources