Rubbing
Your cat is doing more than simply expressing your affection and saying hello when he rubs his head on you. In reality, he is "bunting," as behaviorists would say. His means of asserting control over you is by releasing pheromones from his cranium. He is expressing pride in the fact that you are his, just like a cat might rub on furniture to leave his smell and mark his territory.