check if api keys match