Changed user-team relationship to go through TeamMemberships