added accounts and added tempate to the header