add roles for nodemanager and resourcemanager