edited UI for all pages