Checking role on context and prompt pages