add search-controller in repo and set the routes scope in routes.rb -jiao