added credit card validation, and checking for allowed fields.