fixed a bug : if addUserRoles/removeUserRoles's 'roles' argument is
array, TypeError occurs.