Fixing ManageCustomers sql and formatting