Checking private API key in indexing controller