added safe button and styling to pages