update context for logged in users