Updated /upload/ handler, implemented /delete/ handler