fix searching in users table