added from and to params to serarch controller