Re-enabling sign-in logic from working offline