def roles
      return [] if get_roles.nil?
      x = [get_roles].flatten.map do |role|
        role.respond_to?(:to_sym) ? role.to_sym : role
      end    
      x.first.kind_of?(Set) ? x.first.to_a : x
    end
def roles
      return [] if get_roles.nil?
      x = [get_roles].flatten.map do |role|
        role.respond_to?(:to_sym) ? role.to_sym : role
      end    
      x.first.kind_of?(Set) ? x.first.to_a : x
    end
query assigned roles