Enable registration; add showAlertForErrorCode()