added home controller and index view