Track user logging in successfully

How would `logged-in` be set?  It would require a second page load, yes?