fixed OAuth encrypt and added license