Multifaceted interactions between adaptive immunity and the central nervous system