Add SessionId functions