The problem I am facing is that , the application is not
refreshed when i press the logout button and go back to my main
page(Login page). when I again go to other screens from login page
the data stays as it was earlier before logout, i.e the inner
screens are not refreshed. Right now iam using navigateToURL method
to overcome this problem .Is this the right way or there is any
other alternative .