fixed header and promise handling for accounts