adding user search
added user search
refactored user search script