Added proper display function

Added function to display data from local storage.

Added filter option to view page.