added sentiment analysis before sending to client side