add front-end for template messages