update message json
update front-end js file to show user avatar