I have done a login for my app, so, to finish it, I modified the method didfinishlaunching from the delegate. In this method, I take the session from the userdefaults and check if is valid(calling to my server). If it's correct, I load the main viewcontroller, if not, the login viewcontroller.I have done a login for my app, so, to finish i