Adding authn token validation related code