modified code to have one list page and working on the design