Fixed the routes and added page links to header