move index page to routes handing