Add logic for showing and creating lists