code: private void changeFormMode(@AuthMode int mode) {
          Log.d(TAG, "Mode changed to " + mode);
          if (lastFormMode == mode || !showDatabase && !showEnterprise) {
              return;
          }
          Log.d(TAG, "Mode changed to " + mode);
          lastFormMode = mode;
          lockWidget.showTopBanner(false);
          if (socialLayout != null) {
              socialLayout.setCurrentMode(mode);
          }
          switch (mode) {
              case AuthMode.LOG_IN:
                  showLogInForm();
                  lockWidget.showBottomBanner(false);
                  lockWidget.updateButtonLabel(R.string.com_auth0_lock_action_log_in);
                  break;
              case AuthMode.SIGN_UP:
                  showSignUpForm();
                  lockWidget.showBottomBanner(true);
                  lockWidget.updateButtonLabel(R.string.com_auth0_lock_action_sign_up);
                  break;
          }
      }
docs: Change the current form mode
  
  @param mode the new DatabaseMode to change to