Code displayed gives a way to store user info in a cookie and then uses it at other parts of a site.