Code that I wrote for an authentication tutorial on Make Web Games.