[task] added token validation and accesstoken builder