defined user_total_pledges to user model