Click the flag and it should say "Welcome!" Refresh and click the flag again and it should say "Welcome back!" without any could variables!
Inspired by @TimMcCool's local storage project