now user appears and dissapears in chat room properly