added validation to prevent users being displayed multiple times