pass the teamId to the function that loop the team message , used to be empty. load the photo inside the chat box.