Modified logout popView method to popRootView

If you log out immediately after registration, simply pop to the root view makes better sense other than getting back to registration page again from my perspective.