added folder support to the add account api