logout + upload file