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

            
            if (granted)
            {
                self.requestMe(downloadType, request: request)
            }
            else
                

                        let request3 = SLRequest(forServiceType: SLServiceTypeFacebook, requestMethod: .GET, URL: NSURL(string: url), parameters: nil)
                        
                        
                        request3.performRequestWithHandler( { [weak self] (responseData, urlResponse, error) -> Void in
							
							
							if (self != nil){
								self!.processImage(responseData, request: request)
							}
							
                        })

                        
