Defining service behavior for AccountService