add the adapter and modify the chatting screen