Use mate-session to track the active session