Minor update to accommodate session change.
Reworked sessionType to control map access with mutex instead of channels