JC: added autocomplete action in routes.rb and controller. spec passes.