I've been asked to make something that keeps track of when users log in and log out (and other information) in a spreadsheet. The log in part is pretty straightforward, I just place my script in Login Items. But log out is different. Is there something like a "Logout Items" that will execute my script immediately before the user logs out? Right now they're running 10.3 but I think they'll be moving to 10.4 soon. I hope. So a method for either version would be very appreciated.