Added routing to history and contact pages.