You need to check Logoff page customization in SICF node.
Go to /default_host/sap/bc/ui5_ui5/ui2/launchpage
Go to Error pages tab -> System logon
Click on configuration
You can see Logon layout and procedure. You can check Custom Implementation and provide abap class as : /UI2/CL_SRA_LOGIN
Regards,
Tejas