Added getAccountInfo to API