Improve error login with external process