old_contents: from .model import User
  
  
  def refresh_nonce_handler(userid):
      return User.get(email=userid).nonce
  
new_contents: from .model import User
  
  
  def refresh_nonce_handler(request, userid):
      return User.get(email=userid).nonce
  
subject: update to new more.jwtauth API