implement to delete old files and table rows
implement to clear inactive session data
remove the alert() which was for debugging