Implement add rating feature