wiring up search view