adding pages title and updating menu