added two account api methods