ran .uniq method on friends array to keep from showing duplicate friends