Implemented listAccounts using REST filter