updated the id servlet so it includes search functionality