searchbox controller