Update main.c

Fix query_acct() function
Switch log value from user pin to user total balance