rating page functionality