fixing bugs with customer registration