Phase3-modified HomeResource and HomeView.java files