I want to make a website with restricted user access. I have found several plugins to do that. Now I want my wordpress website to remember the page the user was on before they logout. Besides that, I want my site to redirect the user, after login, to the page they were on before logout.
How can I do that? I couldn't find anything on the internet.