Thanks - this helped me too.

Is there a way to add a redirect_url to the logout link?