search controller and views