Added the possibilty to search for entries in the database