added more code for the review page