add accounts and template to header