Added jquery ui checkbox buttons with icons for roles and some helper functions