Fixes the 500 error caused by unregisterd user accessing /teacher url.
Fixes the 500 error caused by unregisterd user accessing /teacher url.

ram8647/gcb-mobilecsp,ram8647/gcb-mobilecsp,ram8647/gcb-mobilecsp,ram8647/gcb-mobilecsp