added new socket listener for badges