Session reloads when pressing back button from the browser

I have a dashboard with a logout button. When I press the logout button, I am successfully routed to my Login Screen. But when I click the back button from the browser I am again routed to the dashboard without even Logging In. I tried CLOSING THE SESSION and also LOGOUT FUNCTION but the problem still persists. Can I get a solution or a way to work around with?