add messages back to homepage and app templates