Refactor startpage