T cell responses in anti-microbial immunity and barrier site homeostatis