Added back end functionality to display reviews page and compute average rating