Fix:sign in and sign up bugs when in no network.