fixed the logout backstack issues