basic working version of adminSearch