- now each individual element is shown if allowed by role, instead of having multiple return statement for each role