Redirect to another theming page after anonymous login

After successfully setting up anonymous login in our mendix app, I'm trying to adjust the layout of the homeform for anonymous users. I want to complete remove the topPane. But I can't do that with just css styling. In order to do this, I need to use another theme page. Something like anonymous.html. My webserver will redirect the anonymous user to anonymous.html. This will be a very simplistic page with minor functionality. On this page I have a login form widget and a microflow trigger. If someone logs in with the login form or use the microflow trigger, they need to be redirected to my original index.html theming page. How can I do this?
1 answers

Use index.html for the anonymous page.

Use the URL redirector widget in an empty form to navigate to the other index.html after login.