make the interface to test "isLogin"