added titles to all the pages