Inserted list() action in StoreController, fixed syntax errors