Once user clicks on Logout he should not be able to go back (by clicking on browsers back button). Remember cahing is there. we should not remove chahing. he can be able to click on browsers back button or he can view previous page by click on browsers back button only when user is in login. Once logout he should not able to view previous page.