users reputation chart working from backend to frontend