async void Login() { string email = EmailField.text; string password = PasswordField.text; // Sign in using email and password await firebase.SignIn(email, password); // Check if sign in succeeded if (firebase.auth.CurrentUser != null) { studentId = firebase.auth.CurrentUser.UserId; // Load class picker scene SceneManager.LoadScene("class_picker"); } else { // Notify failed login LoginNotification.text = "Email/Password incorrect. Try again."; } }