added proper error handling to discussions jsp
implemented various bugfixes in SSO register process
Merge branch 'master' of https://github.com/CCI-MIT/XCoLab