I have created a textfield for username and another for password and a button. now in JSON post if i entered wrong details an error message has to be displayed for me. if i entered correct details it should go to another view controller. How it can be done? I have created a textfield for username and ano