Before firing doLogin() check that the user logining is the previous one, else flush the Persistent browser storage.