     var locationManager = CLLocationManager()
     var pusher : Pusher = Pusher(key: "")
     var channels : [PusherChannel] = []
+    var annotations = [MKAnnotation]()
     
     @IBOutlet weak var searchTextField: UITextField!
     @IBOutlet weak var searchIcon: UITextField!

        super.viewDidLoad()
        self.hideKeyboardWhenTappedAround()
        initSearchField()
        self.updateLocation()
        
        mapView.delegate = self
        

        let params: [String: String] = ["pseudo": self.user.pseudo as String, "latitude": String(self.user.latitude), "longitude": String(self.user.longitude), "state": String(self.user.state)]
        self.apiService.updateLocation(params) { (user, err) in
        }
        self.user = UserService.getUserInSession()
        self.mapView.removeAnnotations(self.annotations)
    }
    
    @IBAction func paramButtonClic(sender: AnyObject) {
