This is used to patch the session expire module