- refining login and application service state management