Added functionality for getting account balances