fixed a file upload issue and added item duplicate checking

- URL image upload was broken
- The user now cannot create an object with the same name