Implement token rotation in the TokensController and update tests for index, create, and destroy actions to ensure proper functionality.