Authenticate and upload functionality in the testing phase