adds the views for the internal pages