Hi, thanks for your reply, however i need to do a function like if i successfully logout ONLY then it will automatically goes to login page, it is not a suitable to used onMousePress as it goes to login page directly even i havent logout. That is why i need logout return value, so that i can set for that features.
Thanks