Update timestamp on login/logout