Implement logged_in_users.

Fixes #9.
Merge pull request #493 from wxsBSD/issue_9

Implement logged_in_users.