add some easy logic code about Role