strip leading/trailing spaces from user name searches