delete functionalty added to upload page