                 let defaults = NSUserDefaults.standardUserDefaults()
                 defaults.setBool(true, forKey: YonaConstants.nsUserDefaultsKeys.isBlocked)
                 defaults.synchronize()
-                self.displayAlertMessage("Login", alertDescription: NSLocalizedString("login.user.errorinfoText", comment: ""))
                 errorLabel.hidden = false
+                self.codeInputView.resignFirstResponder()
                 errorLabel.text = NSLocalizedString("login.user.errorinfoText", comment: "")
             }
             else {

                    self.navigationController?.pushViewController(dashboardStoryboard, animated: true)
                }
            })

        } else {
            errorLabel.hidden = false
            self.codeInputView.clear()

        
        if NSUserDefaults.standardUserDefaults().boolForKey(YonaConstants.nsUserDefaultsKeys.isBlocked) {
            self.pinResetButton.hidden = false
            errorLabel.hidden = false
            errorLabel.text = NSLocalizedString("login.user.errorinfoText", comment: "")
            self.codeInputView.resignFirstResponder()
            return;
        }
        
