Added rest end points to serve images