complete longin/logout