replaced search username function
added code to userQuery callback
fixed var typo
added slash to url. duh