Added check for duplicate addresses
Changed the "invalid url" message