Updated chat and upload image

Upload image and chat functions working