to fixup the bug and use login username and password success