respond to html requests