added defaults to page types and removed show view