Added an HTML form for querying.