Login name is remembered by the app, refactoring