added appropriate titles to each page