Fix HTML errors and add navigation between pages