So I tried to mix provider, firebase authentication and shared_preference together. But it kinda works, but it always give me this error before it finally works. The method