update log-in-log-out