Implementing properly the account manager