Edit button could be helpfull :)

I'm asking about it because of stateless application (using JWT tokens). With this authentication framework we won't have access to req and res for e.g. mobile applications. How to handle authentication in such cases?