Send refresh_token to Rails
Fix and improve renew access_token and store refresh_token
Fix and improve script according to the API changes
Check API response after a request is made