userSearch changes and sql

halp us maffew