Defining search in AccountRepository