added warning if the user has no/invalid api key