Added logic to display the list of graphs that are stored in the database.