T-cell-based immunity counteracts the potential toxicity of glutamate in the central nervous system