Welcome means, essentially, that the speaker is glad about what happened. "Come in, you're welcome," means come in, I'm glad you are here. "You're welcome," in reply to "Thank you," means "I was glad to do the thing that you are thanking me for.". . And yes, you're welcome. ;-)