I know the 5.1 code has the functionality to customize the logout page along with error and the login page. You can give that code a shot, but it is a new code.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: