Clear as mud. I'm not sure which of two solutions you want, so you'll have to pick.
If you want the screen to roll to the login screen at the logout time no matter what the user is doing, then use an onTimer event.
If you want to allow the user to complete their current data entry before the logout takes place, then modify the click event for your Save button.
-PatP