finished front end for most pages