Better error handling in console
Detect failures in load_user
Better error handling when logging in