start to refactor the add customer and edit customer process