Adds search feature

Allows users to search in the database.