Trying to get ktor examples to run

i am stuck at this

many of the functions require dependencies or imports that are mentioned nowhere.
the methods loginFailedPage, loggedInSuccessResponse and loginPage on do not exist on the “call” object.
how can i move on here?

do i have to go through other tutorials first? if yes, which ones?
i fixed the compile errors, but ended up at “Application feature Locations is not installed”

most importantly, the three methods mentioned above are nowhere to be found. how can anyone get the example to run if the code does not compile?