displays messages to the user when someone enters or leaves the room