Added Error handling to customer registration page.