Add titles to the pages