ensure index on accountId
fixes in user put/post endpoints