http_interface: allow editing messages
http_interface: add templates