Working version- could disallow user who is not logged in from rating.