#JC-1743. Added capability to see login error on login page
JC-1743 Added class to hold userinfo in cache. Corrected code review remarks
JC-1751 add checking null referer null condition