linked to upload template when button is clicked
file upload working locally
Added upload function