added accounts and added template to the header