searchbar model and controller