search with user input