Updated accountinfo widget to match new API