diff --git a/subuser.info b/subuser.info
index 2ca9720..be6fe58 100644
--- a/subuser.info
+++ b/subuser.info
@@ -6,6 +6,7 @@ dependencies[] = relation
 dependencies[] = ctools
 recommends[] = subuser_switch
 recommends[] = subuser_ui
+configure = admin/config/subuser
 
 ; Information added by Drupal.org packaging script on 2014-11-26
 version = "7.x-2.0-alpha4"
diff --git a/subuser.module b/subuser.module
index ed12589..d8a1bf3 100644
--- a/subuser.module
+++ b/subuser.module
@@ -56,6 +56,13 @@ function subuser_menu() {
     'access callback' => 'subuser_access_create',
     'type' => MENU_LOCAL_ACTION,
   );
+  $items['admin/config/subuser'] = array(
+    'title' => 'Subuser',
+    'description' => 'Subuser control settings',
+    'page callback' => 'drupal_get_form',
+    'page arguments' => array('subuser_settings_form'),
+    'access arguments' => array('subuser access'),
+  );
 
   return $items;
 }
@@ -265,6 +272,14 @@ function subuser_form_alter(&$form, &$form_state, $form_id) {
       // Remove the limit user setting from users that doesnt have the administer subusers permissions
       $form['field_subuser_limit']['#access'] = user_access('administer subusers', $user);
     break;
+    case 'user_cancel_confirm_form':
+      if (variable_get('flag_delete_subuser_options', 1)) {
+        $form['user_cancel_method']['#access'] = true;
+        $form['user_cancel_confirm']['#access'] = true;
+        $form['user_cancel_confirm']['#default_value'] = false;
+        $form['user_cancel_notify']['#access'] = true;
+      }
+    break;
   }
 }
 
@@ -353,3 +368,61 @@ function subuser_ctools_plugin_api($module, $api) {
     return array('version' => 1);
   }
 }
+
+/**
+ * Implements hook_form_FORM_ID_alter(): user_cancel_confirm.
+ */
+function subuser_form_user_cancel_confirm_form_alter(&$form, &$form_state, $form_id) {
+  $form['#submit'][] = 'subuser_user_cancel_form_submit';
+}
+
+/**
+ * Additional submit handler for user_cancel_confirm.
+ */
+function subuser_user_cancel_form_submit(&$form, &$form_state) {
+  global $user;
+  $account = $form_state['values']['_account'];
+
+  $children = subuser_load_all($user);
+  $acct_uid = is_object($account) ? $account->uid : $account;
+  if (in_array($acct_uid, $children)) {
+    user_cancel($form_state['values'], $account->uid, $form_state['values']['user_cancel_method']);
+    $form_state['redirect'] = 'user/' . $user->uid . '/subuser';
+  }
+}
+
+/**
+* Create configuration form for display subuser module settings.
+*/
+function subuser_settings_form($form, &$form_state) {
+  $form = array();
+
+  $form['delete_subuser_options'] = array(
+    '#type' => 'select',
+    '#options' => array(
+      0 => t('No'),
+      1 => t('Yes'),
+    ),
+    '#title' => t('Cancelling subuser account settings'),
+    '#default_value' => variable_get('flag_delete_subuser_options', 0),
+    '#description' => t('If selected Yes, then subuser module will ask you for some options related to cancelling the account (i.e. Disable the account and keep its content, etc).') . ' ' .
+      t('As per your selected option, system will delete/preserve the content created by subuser. Further, you also have an option regarding email confirmation sending to the respective user.'),
+    '#attributes' => array('class' => array('container-inline')),
+  );
+
+  $form[] = array(
+    '#type' => 'submit',
+    '#value' => t('Save configuration'),
+    '#weight' => 100,
+  );
+
+  return $form;
+}
+
+/**
+* Create configuration form for display subuser module settings.
+*/
+function subuser_settings_form_submit($form, $form_state) {
+  variable_set('flag_delete_subuser_options', $form_state['values']['delete_subuser_options']);
+  drupal_set_message(t('Configuration saved.'));
+}
