customer = em.find(Customer.class, customerID);
// Does customer exists?
if (customer != null)
{
if ( ! customer.verifyPassword(password) ) // Is password correct?
{
results = "\nPassword does not match for : " + customerID;
Util.debug("Password given does not match for userid=" + customerID);
}
}