removed unused code
added description method for debugging
change logic of chat rooms messages notifications
added checks for duplicate object