New method in views to get the review data from the database