mobilefirst logout redirect to new page <p>I am using jquery mobile and I am using $.mobile.changePage( "#newpage"); option when the user authentication is done to move to next page. in the next page I have a logout button and when user clicks on that it has to logout and on success it has to come back to the login screen again. </p> <pre><code>WL.Client.logout('CustomAuthenticatorRealm',{onSuccess: WL.Client.reloadApp}) </code></pre> <p>in this code onsuccess it is reloading the same url. i tried to change it like onSuccess: $.mobile.changePage( "#loginpage");</p> <p>but it is not working. any suggestions please</p>