Added validations to the Token model