Token validation in plugin prototype added