diff --git a/geohide.info b/geohide.info
index 454791c..e4e3c91 100644
--- a/geohide.info
+++ b/geohide.info
@@ -1,3 +1,5 @@
 name = Geolocalize and Hide
 description = Geolocalize a visitor and hide any given field depending on node's title
 core = 7.x 
+configure = admin/config/content/current_posts
+
diff --git a/geohide.module b/geohide.module
index d679037..e8a633f 100644
--- a/geohide.module
+++ b/geohide.module
@@ -20,6 +20,74 @@ function geohide_help($path, $arg) {
 } 
 
 
+/**
+ * Implements hook_menu().
+ */
+function geohide_menu() {
+  $items = array();
+
+  $items['admin/config/content/geohide'] = array(
+    'title' => 'Geohide',
+    'description' => 'Configuration for Geohide module',
+    'page callback' => 'drupal_get_form',
+    'page arguments' => array('geohide_form'),
+    'access arguments' => array('access administration pages'),
+    'type' => MENU_NORMAL_ITEM,
+  );
+
+  return $items;
+}
+
+
+/**
+ * Page callback: Geohide settings
+ *
+ * @see geohide_menu()
+ */
+ 
+
+function geohide_form($form, &$form_state) {
+  $form['city'] = array(
+    '#type' => 'textfield',
+    '#title' => t('City to be hide'),
+    '#default_value' => variable_get('city', 'Sevilla'),
+    '#size' => 10,
+    '#maxlength' => 30,
+    '#description' => t('The City you want to filter a determinated info'),
+    '#required' => TRUE,
+  );
+
+  $form['nodetitle'] = array(
+    '#type' => 'textfield',
+    '#title' => t('Node to be hide'),
+    '#default_value' => variable_get('nodetitle', 'pdp2'),
+    '#size' => 10,
+    '#maxlength' => 100,
+    '#description' => t('Node title you want to filter a determinated info'),
+    '#required' => TRUE,
+  );
+
+
+  return system_settings_form($form);
+}
+
+
+function geohide_submit($form, $form_state){
+	$values = array(
+		'city' => $form_state['values']['city'],
+		'nodetitle' => $form_state['values']['nodetitle'], 
+	);
+	
+	$insert = db_insert('geohide')
+		-> fields(array(
+			'city' => $values['city'],
+			'nodetitle' => $values['nodetitle'],
+		))
+		->execute();
+	
+	drupal_set_message(t('Settings have been saved'));
+}
+
 
 /**
  * Implements hook_node_view().
@@ -37,21 +105,20 @@ function geohide_node_view($node, $view_mode) {
 	// $cityvisitor = $xml->city_name;
 	
 	// Uncomment these lines if you want to use geoplugin xml webservice
-	//$xml = simplexml_load_file("http://www.geoplugin.net/xml.gp?ip={$ip}");
-	//$cityvisitor = $xml->geoplugin_city;
+	$xml = simplexml_load_file("http://www.geoplugin.net/xml.gp?ip={$ip}");
+	$cityvisitor = $xml->geoplugin_city;
 	
 	// Uncomment these lines if you want to use ip2location json webservice
-	$json = file_get_contents("http://api.ip2location.com/?ip={$ip}&key=demo&package=WS3&format=json");
-	$array = json_decode($json, true);
-	$cityvisitor = $array['city_name'];
+	//$json = file_get_contents("http://api.ip2location.com/?ip={$ip}&key=demo&package=WS3&format=json");
+	//$extraction = json_decode($json, true);
+	//$cityvisitor = $extraction['city_name'];
 	
 	
-    if ($node->title=="nodetitle" && $cityvisitor=='cityvisitor'){
+    if ($node->title==variable_get('nodetitle') && variable_get('city')==$cityvisitor){
         if ($view_mode == 'full'){
-            $node->content['field_phonenumber']['#access'] = FALSE;     
+            $node->content['field_image']['#access'] = FALSE; 
            }
          return $node;
     }    
 }
 
-
