Sending ratings

send and receive ratings plus calculate average