Basic UI for pages and page title logic