code: def render_form_template():
      
      error = ""
      remote_info = {}
      registered_user_id = request.query.get("url_id", False)
  
      # try to read remote info, the the url_id parameter was specified
      if registered_user_id:
          try:
              remote_info = seeder.get_remote_info(registered_user_id)
          except AssertionError:  #: TODO: requests error
              registered_user_id = False
              error = "Seeder neposlal očekávaná data.\n"
  
      if registered_user_id and remote_info:
          return render_registered(registered_user_id, remote_info)
  
      if not remote_info:
          error += "Seeder je nedostupný!\n"
  
      return render_unregistered(error)
docs: Rennder template for user.
  
      Decide whether the user is registered or not, pull remote info and so on.