HMAC server code added