since my goal is just to display the list of data, i removed the add and edit codes