Made a defaultcontroller for the index page