implemented removeAccount