Checking role for certain pages on person profile page.