implement getAccounts and getSites

This is so cool.