lastlogin now calculates number of days

New code now calculates the number of days since the user last logged
in. This is useful if you deactivate accounts based on inactivity.