added totalPoints in userFrom