Update the unprocessed collection when logging in or out