Add user authentication to upload