added dynamic titles to the pages