Phatic speech or phatic communication consists of words or phrases that have a social function and are not meant literally. When people are thanked, they often say You're welcome in reply, and this is meant to show politeness and not to be interpreted as literally welcoming them.
"The grammar glossary is the most comprehensive I have seen on the Internet. The definitions are very clear and to the point." ~ Chris Durcan - Editor, The Language Key