return customerDAO.login(userId, password);
}
public void logout(String userId) throws DAOException {
CustomerDAO customerDAO = factory.getCustomerDAO();
customerDAO.logoutUser(userId);
}
public CustomAccountBean getAccountData(String userId) throws DAOException {
CustomerDAO customerDAO = factory.getCustomerDAO();
return customerDAO.getCustomerByUserId(userId);