integrated mikes templates into the webapp. added insert functionality
listing of messages