Added the home controller with the index method