Added credit card validation to the restaurant app.