Add some debug code to login success