notifications socket callbacks