Fix bug with upload when user is unknown