changed api_user and api_key to the actual variable names.