code: def register_views(self, app):
          
          self.add_resource(LoginRedirectView, '/auth/login')
          self.add_resource(LogoutRedirectView, '/auth/logout')
  
          for entry_point in CINQ_PLUGINS['cloud_inquisitor.plugins.auth']['plugins']:
              cls = entry_point.load()
              app.available_auth_systems[cls.name] = cls
  
              if app.register_auth_system(cls):
                  for vcls in cls.views:
                      self.add_resource(vcls, *vcls.URLS)
                      logger.debug('Registered auth system view {} for paths: {}'.format(
                          cls.__name__,
                          ', '.join(vcls.URLS)
                      ))
  
          if not app.active_auth_system:
              logger.error('No auth systems active, please enable an auth system and then start the system again')
              sys.exit(-1)
  
          for entry_point in CINQ_PLUGINS['cloud_inquisitor.plugins.views']['plugins']:
              view = entry_point.load()
              self.add_resource(view, *view.URLS)
              app.register_menu_item(view.MENU_ITEMS)
  
              logger.debug('Registered view {} for paths: {}'.format(view.__name__, ', '.join(view.URLS)))
docs: Iterates all entry points for views and auth systems and dynamically load and register the routes with Flask
  
          Args:
              app (`CINQFlask`): CINQFlask object to register views for
  
          Returns:
              `None`