refactor the Account document to hold bet ObjectIds