So basically you want to be able to say "out of 50 users, 30 logged in".
I tried something similar in the past, problem was that those users that never logged in didn't have a user profile created. We created the profile upon first session. Do you have that or are you creating user profiles for each new user regardless of activity?