I was able to simplify the login code too. ctdl_startup() is now called at landing...