fixed a bug in updateResCount
updated getLoginUserCount to use only ResidentCounts
Merge pull request #28 from shadowdoc/fix-get-login-user-counts

Fix get login user counts