Massive rewrite/edit of "While True"

Changed first currentusers to oldusers and created new currentusers
outside if statement after 5 second delay. Calculated newusers based on
these two, newusers is difference of sets.
Will hopefully also detect new users if simultaneous login and logout of
different people.