Check auth when uploading