Added sha1.js for user authoCode