list_registered_accounts implementation, rename name_record to account_record