I don't think one is necessary here as only one URL should be receiving the logout request AND we should always be redirecting back to the server.  We would never use this logic anywhere but here, correct?