Update header.php

Added the requireRank($rank) function. See the comments about it for more info.