added AuthorizedPage.java, refactored HomePage