updated methods to not re create chef api connection but use existing