Pass in context to loggedIn/loggedOut callbacks