Fixing a big bug in the team registration process