adds title to the page