What are the 3 functions of the mucous membrane?