added server to download picture to server when post request is made
hooked up R, app server