I made a log-in screen that once you press the button to log-in and it authenticates the user name and password. What I want to do it switch to a different view after the authentication is completed. I am usign a storyboard for this application adn I have set it up so that the log-in button does a modal seque but it doesn't switch the view. I tested this with a sample button and all it does it switch the view back to the same view and refreshes the view. What do I need to add in order for my funtion to switch from my ViewController View (the main view) to the next view (RootViewController). I have a navigationController and an object created fromt he ViewController class but I don't know how to use them in order to switch views. Can anyone point me in the right direction? I can provide more information or sample code if needed. I am so confused when it comes to view switching... Thanks in advance!