added homepage and methods to application controller/views