Logout link redirect on login page of protected contnet

Hi.
I have set up a login page for protected content, with the short code to login and a redirect link one login. [ms-membership-login redirect="/demo-page-8/"]

If a user goes back to this page while he is still logged in, he is told that he is logged in and asked if he wants to logout. However, when he clicks to logout - he is also redirected to the same page the logged in users are redirected to. How do i change it - so that users will be redirected when loging out - back to the login page.