added checks to see if customer already exists.