Added code to go back to home page from some pages.