adding delete method to Token class