Pro-cognitive properties of T cells