added a resource handler to serve the results