Working login and creation loop, as well as test client