fixed #75, the max logins problem