handles duplicate entries within users