Search-bar form and controller