added addRole functionality