Adding app wide :check_api_key method for API Key checking