Added getRole and isInRole methods