Get account info from GH and print it.
Refactored to simplify the current main function.