Competition creation

also fixed mistake in team creation