Add ability to store logged in user.

Add ability to store logged in user.