Added a html form to submit ams message.