created home controller and view