improved UI feedback. User need to be logged in to submit a function. detect duplicates and overwrite them when the owner is the same.