Adds search functionality by state and name