adds a demo page for the resource view