Implement JWT

the type annotation is not necessary here