Redone some code in uploadToYoutube and authenticateGoogle actions.