adding roles logic in css