solved issue where only one user's chart was being displayed