added the code for the console to print the account balance.