added additional joint index to user_id and value
renamed user col total_karma to karma_sum, hopefully dealing with naming conflicts between the field and model instance method