added more functions to manage external providers to the AccountsManager