added alerts for log-out and log-in