Account: Defines identities listing.

Also, fixes random related issues.

/cc @zhangcong2711 @daltonnguyen