update to work correctly using refactored Customer->login