loading an array with the chats that are received, populating a table view with that data