title: trouble with alert message
body: <p>i am trying to get the "password missing" working when i dont type same password and i try to get "helo fill everything" working for when no answers has been given. </p>
  
  <p>problem is that it jumps right over the first 2 statements and then down to the last alert "AAAAA".. (sorry for the first part of code..)</p>
  
  <pre><code>if(userPassword != userPasswordRepeat)
      {           
          displayAlertMessage(alarm: ("password missing"));
          return
      }
      if(userEmail == "" || userPassword == "" || userFirstName == "" || userLastName == "")
      {
          //vis alarm besked 2
          displayAlertMessage(alarm: ("helo fill everyting"));
          return
      }        
  
  }
  func displayAlertMessage(alarm:String)
  {
      let myAlert = UIAlertController(title: "Alert", message: "AAAAA", preferredStyle: UIAlertControllerStyle.alert);
  
      let okAction = UIAlertAction(title: "OK", style: UIAlertActionStyle.default, handler: nil)
  
  
      myAlert.addAction(okAction);
  
  
      self.present(myAlert, animated: true, completion: nil)
  }
  }
  </code></pre>
  
  <p>`</p>