Hi Mike,
You could add a logoutLink at the end of the template inside the end of helpers.main to logout and then redirect the user back to the registration page such as:
<div class="form-row push-top">
[@helpers.logoutLink redirectURI="${request.contextPath}/oauth2/register"]${theme.message("register")}[/@helpers.logoutLink]
</div>
[/@helpers.main]
The template would display for example with the link titled register at the bottom of the page in the attached screenshot.
Screenshot 2024-05-02 at 23.54.08.png
Cheers