wrote displayUploadForm() and processUpload()