public static function GenerateToken()
 {
     return base64_encode(Crypto::XorString(base64_encode(md5(uniqid(mt_rand(), true)))));
 }