Start of code to support Book rating