Added expired card

Added expired card function and removed some debuging