debugging on login