adding message when leaving