added a function to check if the customer_id exists (with test) and updated cd_app.py