refactored sign-in/remote load account
note refactored and tested