implemented ajax call to display all already inserted data in the dashboard page