Head butting is a very loving gesture and also a way to greet you. Like people shake hands, wave, or hug, or tell each other that they love them. This is the way many types of cats show their geettings or love with a head butt. Also it is a way to get your attention, the cat may want a hug, or a scratch behind the ear.
Many cats such as the Siamese, Orientals, Savannah's are known for this behaviour.
Licking is a form of kissing from the cat.
So everything your cat is doing is a way of saying, hello and I love you. So knowing this hopefully you won't be as annoyed next time.