JC: added search action/stats in routes.rb. spec passes.