Adding file upload function to the admin route. Added multiparty middleware so as to parse files in the request.