Adding search controller