Added BaseController and Ajax request for autocomplete.