updated search controller
Merge pull request #49 from bobolinks-2014/controller

updated search controller