A network system supplying electric power and a control method thereof