Add query function to serve the query and show results