added functionality to pull all the diff ratings from db and display only unique values for checkboxes on index