adds a title to the page