basic search by textbox functionality