finishing the upload page