Made homecontroller actually consume the repository