check network when check login