Added warning when login with file fails