added some data to the index and hooked up controller