I am trying to create a custom backend page in the same layout as Joomla. So none of the buttons have to work since I am going to be writing my own code, the only exception to that is the logout button.
How can I make the logout button work on a copied joomla backend page (in my example I copied the articles overview source code) and also make sure that when logged out this copied page is not accesible and shows the joomla login page?
I am using Joomla 3.