begining of image fetching from url, the url is currently hard coded in app.js (server side)