after adding activity indicator to LoginController, I found if I clicked "好" when loginController has already been poped, it crashed. I guess it was because the loginController has been piped;
In order to solve it, I created a UIAlertView category in "AlertHelper" to pass the ViewController as an argument into a method to dismiss alert first and pop controller after it.