         
         
         
-        self.accountStore .requestAccessToAccountsWithType(accountType, options: socialOptions, completion: { (granted, error) -> Void in
+        self.accountStore.requestAccessToAccountsWithType(accountType, options: socialOptions, completion: { [weak self] (granted, error) -> Void in
             
             if (error != nil)
             {

            userData: nil)
        
        
        merequest?.performRequestWithHandler( { [weak self,request] (responseData, urlResponse, error) -> Void in
            
            let userData = NSJSONSerialization.JSONObjectWithData(responseData!, options: NSJSONReadingOptions.allZeros, error: nil) as Dictionary<String,AnyObject>
            

            userData: userData)

        // (NSData!, NSHTTPURLResponse!, NSError!) -> Void
        avatarRequest?.performRequestWithHandler( { [weak self] (responseData: NSData!, urlResponse:NSHTTPURLResponse!, error:NSError!) -> Void in
			
			if (self != nil){
				self!.processImage(responseData, request: request)
			}
        })
        
    }
