Update Credit Card List

<<Back to Main Menu

Description:
Allows the manager to prune the credit card table of any cards which are past their expiry date.

Accessible by:
Managers

Accessed from:
Main Menu

Input parameters:
None

Output
Error or success message

Pseudo Code:
get session
if ('usertype' param in session == 'm') {
   get current time
   delete all entries in the cards table where the expiry date is before the current time
   display success message
}
else {
   error message to say user must be logged in and be a manager
}