Rewrite the login controller using JWT from session
Rewrite the login controller using JWT from session