built out navigation and added pages controller