session exchange working