Authentication states and firebase connectivity.