Added views for resource controller.