Added initial state for flag that tracks login status