added karma caculation for user