add refactor home page view