added a cron job to clean expired keys.