add function upload picture/add test log