implemented autocomplete on entity search