Using AppView and template to append message