         
         
     }
-
+    
     @IBAction func cancelChangeServer() {
         UIView.animateWithDuration(0.3, animations: {
             self.serverHiddenView.alpha = 0.0
-            })
+        })
         serverHiddenTextField.resignFirstResponder()
         codeInputView.becomeFirstResponder()
     }
-
+    
     
     @IBAction func longPress(){
         if let url = NSUserDefaults.standardUserDefaults().stringForKey("YONA_URL") {

    func checkUserExists() {
        UserRequestManager.sharedInstance.getUser(GetUserRequest.allowed){ (success, message, code, user) in
            if code == YonaConstants.serverCodes.errorUserNotFound {
                if let serverMessage = message {
                    self.displayAlertOption("", cancelButton: true, alertDescription: serverMessage, onCompletion: { (buttonPressed) in
                        switch buttonPressed{

        serverHiddenView.layer.masksToBounds = true
        serverHiddenView.layer.borderWidth = 1.0
        serverHiddenView.layer.borderColor = UIColor.whiteColor().CGColor
        
        let longPressRec = UILongPressGestureRecognizer()
        longPressRec.minimumPressDuration = 4.0
        longPressRec.addTarget(self, action: #selector(longPress))
