added clearing table after exiting chat room