Just because you are logged in does not mean it will treat the user as a contact in xDB. You should check out [**how to identify contacts**](https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/xdb/contacts/identifying_contacts). The key being to call `Sitecore.Analytics.Tracker.Current.Session.Identify(identifier)`, where `identfier` is the username or email.