add coockie system,
sha1 lib