Add missing model file.
Improve login dialog and process.