Added validate ApiKey