add UploadHandler, modify views to support