Finalizing the code for listing the products belonging to a user.