log-in log-out added