Added debug mode. login user struct is now checked on every login