Add of a all_accounts page, cleaning of the types, refactoring