implemented table load in ui