auth modal - handle error response
upload files