Added view function for invidual record view.