Adds token creation and validation