How to add and remove a team member and permissions