Assign a role to user if passed as part of attributes array