refactor with management_customer controller