$s->logout() not $snap->logout()