Update index and controller to point to correct urls and resources