Implement LIST and QUIT commands