Fixed login failure exit, refactored url opening...

and added dynamic total league counting for status purposes