Adding the view for pages, not finished but there for now.