navigate to main page from anywhere

navigate to main page from anywhere

I am moving my JQM web app to Cordova.  I am trying to do an error recovery from ajax in case the use authentication fails no mater where the user is in the app.  I would like to be able to navigate back to the main page and then change to the login screen so when the user authenticates I can navigate back and end up at the main page.  In the web app, I was just refreshing the main page but I don't think this is a good idea using Cordova.  Is it possible to navigate to page one?

Thanks.