Added refresh token code to demo app