add layout page, refactor the page structure