Default homepage when logging in and logging out

Hi Devs :nerd_face:

I am using xWiki version 14.10.19, I only have one Wiki instance running.
But I have multiple users with different roles and different viewing permissions depending on the role.

How can I redirect by default whenever a user logs in?
Currently xWiki crawls the last page where a logged in user was, when they log out and log back in but they are another account, since this account does not have permissions to view the content that the previous user has seen, the following error appears:

How can I make that whenever a user logs in to the Wiki, it automatically redirects him to his home page so that he does not get these permission errors?

Thank you very much for your support :slight_smile: