[api2] A few improvments on account api