fixed pic uploading problem
can send and receive messages