added alerts for session