fixed various glitches in the checkShibbolethSession() hook function. added code docs.