add root route and resources
change index and show page