Add upload and download and delete to the rest api