removing tests-ui module and introduce getLoginURL