Refresh using id as a key, set refreshAfter to null on logout