Added functionality to review.jsp page