Store teams and team members in the database