fix search feature for api/accounts