add function to search all the database by writting * in the box or leave it empty