Issue #131 - adding session Id verifications and documenting variables