checkin cgi stuff (apologue backend)