added dynamic titles for the pages