Pass session to renderControls