added button and header bar to viewClass.php, currently back button does not work.