- finalized the auth-manager