added basic back history navigation between the pages