     
     override func viewDidDisappear(animated: Bool) {
         super.viewDidDisappear(animated)
-        view.alpha = 1.0
-        activityIndicator.hidden = true
     }
 
     var sharedContext: NSManagedObjectContext {

                
                LoginProvider.Email(user).login(self)
            }else{
                view.alpha = 1.0
                sender.enabled = false
                activityIndicator.hidden = true
                activityIndicator.stopAnimating()
                showAlert(.unCompleteField)
            }
        }

    }
    
    @IBAction func singIn(sender: UIButton) {

        if !isConnectedToNetwork() {
            sender.enabled = false
            showAlert(.connectivity)
        }else{
            if emailText.text! != "" && passwordText.text! != "" {
