adding team memberships, removing has_one for team association and using has_many through team_memberships