Modifying role and node to handle anonymous role