added in search feature with correct api key usage