https://medium.com/swlh/the-client-side-authentication-system-using-jwt-token-on-my-rails-react-app-65d4760be3d