Changed routes for pages and added title helper