code: def return_page(page):
      
      try:
          hit_id = request.args['hit_id']
          assignment_id = request.args['assignment_id']
          worker_id = request.args['worker_id']
          mode = request.args['mode']
          return render_template(
              page,
              hit_id=hit_id,
              assignment_id=assignment_id,
              worker_id=worker_id,
              mode=mode
          )
      except:
          try:
              participant_id = request.args['participant_id']
              return render_template(page, participant_id=participant_id)
          except:
              return error_response(error_type="{} args missing".format(page))
docs: Return a rendered template.