New functionality added: getuserinfo, setkey and authorize to James code
New functionality added: getuserinfo, setkey and authorize to James code