add list function to accounts
fix: empty array params