fxed problem with HMAC an Use SID on Frontend, minor fixes, callback fix