make table show real data, and change nav bar