log expired and invalid sessions