refactor home page

refactor home page