updated for customer accounts and login