changed endpoints to point to server

- added end points for the images