let storyBoard: UIStoryboard = UIStoryboard(name: "Main", bundle: nil)
let confirmViewController = storyBoard.instantiateViewController(withIdentifier: "confirms") as! ConfirmController
if (pw == "" && pw2 == "" ){
print("null")
}else if pw == pw2 {
print("equal")
// switch screen programatically
self.navigationController?.pushViewController(confirmViewController, animated: true)
}else{
print("not equal")
}
```