added basic view (bad querying for resource listing