example of saving every time the user is idle for 5 seconds