upload taken picture to server