added the home controller and index