Added a check for comments' existing.
Added a check for negative rating.
Improved rating processing.
Added an error message for non-existing user.