Fixed errors in examples/login.lua