Fixed the bug for Can't Login Message form Js