Added the remove_account function