code: def POST(self):
          
          if self.user_manager.session_logged_in() or not self.app.allow_registration:
              raise web.notfound()
  
          reset = None
          msg = ""
          error = False
          data = web.input()
          if "register" in data:
              msg, error = self.register_user(data)
          elif "lostpasswd" in data:
              msg, error = self.lost_passwd(data)
          elif "resetpasswd" in data:
              msg, error, reset = self.get_reset_data(data)
              if reset:
                  msg, error = self.reset_passwd(data)
              if not error:
                  reset = None
  
          return self.template_helper.get_renderer().register(reset, msg, error)
docs: Handles POST request