Make isLogin public