There is a screen that appears before a user logs off. He has to choose whether to log off or switch user. Or it can be the screen of log off / shut down and etc. I want to perform some code before this screen appears. How can I register to the event ? Thanks, Clint