added context to onLoggedIn
Merge branch 'auth-callbacks'