added polling cancellation and superfluous login calls