Update login.lua

Improved the DLogged variable