change LogoutHandler contract