                     {
                         self.avatarImageView.image = UIImage(data: data!)
                         self.avatarImageView.alpha = 1.0
+                        self.saveAvatarImage(self.avatarImageView.image!)
                     }
                     
                     dispatch_async(dispatch_get_main_queue(), displayImage)

            
            task.resume()
        }
    }
    
    func dismissActivityIndicatorView() {

    @IBOutlet var activityIndicatorView: UIActivityIndicatorView!
    
    lazy var userManager: UserManager = UserManager()
    lazy var fileStorageManager: FileStorageManager = FileStorageManager()
    
    override func viewDidLoad() {
        super.viewDidLoad()
