add remove accounts and sort functions