changing terminology from api_key to app_key